package com.ruoyi.project.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/demo/socket")
public class DemoWebSocketController {
    private String prefix = "demo/socket";

    /**
     * 搜索相关
     */
    @GetMapping("/index")
    public String index()
    {
        return prefix + "/websocket";
    }
}
